<!--
  Generated template for the MemberPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar color="gm-primary">
    <ion-title>{{label_array[edit_type].title}}</ion-title>
  </ion-navbar>
</ion-header>


<ion-content padding>
  <ion-list>
    <ion-item>
      <ion-label>开户人电话:</ion-label>
      <ion-input type="text" [(ngModel)]="member_data.phone" disabled></ion-input>
    </ion-item>

    <ion-item>
      <ion-label>开户人姓名:</ion-label>
      <ion-input type="text" [(ngModel)]="member_data.name"></ion-input>
    </ion-item>

    <ion-item>
      <ion-label>开户人QQ:</ion-label>
      <ion-input type="text" [(ngModel)]="member_data.qq"></ion-input>
    </ion-item>

    <ion-item>
      <ion-label>选择性别</ion-label>
      <ion-select [(ngModel)]="member_data.gender" okText="确认" cancelText="取消">
        <ion-option value="1">先生</ion-option>
        <ion-option value="2">女士</ion-option>
      </ion-select>
    </ion-item>
  </ion-list>

  <button ion-button full block margin-top color="gm-primary" (click)="onApplySubmit()">{{label_array[edit_type].submit}}</button>

  <div class="call-frame" *ngIf="edit_type == 0">
    <ion-label>如有问题，欢迎来电咨询。</ion-label>
    <button ion-button full block color="gm-primary" (click)="onCallService()">来电咨询</button>
  </div>
</ion-content>
